import { createApp } from "vue"
import "./assets/style.css"
import App from "./App.vue"
import routes from "@/routers/index"
import { createPinia } from "pinia"
import piniaPluginPersist from 'pinia-plugin-persist'
import 'element-plus/dist/index.css'

import "@/assets/iconfont.js"

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersist)

app.use(routes).use(pinia).mount("#app")
